package cn.sys.vo;

import cn.sys.domain.User;

import java.util.Arrays;

/**
 * @author Mxb
 * @version 1.0
 * @date 2019/10/27 18:05
 */
public class UserVo extends User {
    //分页参数
    private Integer page;
    private Integer limit;

    private String code;



    //接收多个角色id
    private Integer[] ids;

    public Integer getPage() {
        return page;
    }

    public void setPage(Integer page) {
        this.page = page;
    }

    public Integer getLimit() {
        return limit;
    }

    public void setLimit(Integer limit) {
        this.limit = limit;
    }

    public Integer[] getIds() {
        return ids;
    }

    public void setIds(Integer[] ids) {
        this.ids = ids;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }


    @Override
    public String toString() {
        return "UserVo{" +
                "page=" + page +
                ", limit=" + limit +
                ", code='" + code + '\'' +
                ", ids=" + Arrays.toString(ids) +
                '}';
    }
}
